<table id="dataTable">
    <thead>
    <tr>
        <th>ID</th>
        <th>站点名称</th>
        <th>地址</th>
        <th>经度</th>
        <th>纬度</th>
    </tr>
    </thead>
    <tbody>
    <?php foreach($r['site'] as $v){?>
        <tr>
            <td><?php echo $v['id'];?></td>
            <td><?php echo $v['name'];?></td>
            <td><?php echo $v['map_address'];?></td>
            <td><?php echo $v['lon'];?></td>
            <td><?php echo $v['lat'];?></td>
        </tr>
    <?php }?>
    </tbody>
</table>
<?php
/** @var Page $page */
$page=$r['pages'];
?>
<?php echo $page->getPageHtml(); ?>